package
{
	public class ConcreteObserver implements Observer
	{
		public var nomDeGuerre : String;
		private var damage : String;
		private var score : Number;
		private var concreteObserver : String;
		
		public function ConcreteObserver(concreteObserverCls : Subject)
		{
			this.concreteObserver = concreteObserverCls;
			concreteObserverCls.subjectObserver(this); 
		}
		
		public function passOn() : String{
		 return 'current sscore',score,'\nCurrent damage: ', damage;
		}
		public function update(score:Number, damadge:String):void
		{
			this.score = score;
			this.damage = damadge;
			passOn();
		}
	}
}